﻿
@{
    ViewData["Title"] = "QualityduringAdd";
    Layout = "~/Views/Home/Menu.cshtml";
}

<div style="font-size:20px;color:gray;margin:10px;padding:16px">
质检管理/原料质检/过程质检/添加</div>
<form class="layui-form" action="">
    @* 质检 *@
    <div style="width:1000px;border-color:black;border-style:solid;border-width:1px;margin:10px 20px;">
        <div style="margin:10px 20px;">
            <h3>质检信息</h3>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">质检编号:</label>
                <div class="layui-input-block">
                    <input type="text" name="QualityNumber" lay-verify="required" id="QualityNumber" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
            <div class="layui-inline" style="margin-left:240px">
                <label class="layui-form-label" style="width:auto">质检名称:</label>
                <div class="layui-input-inline">
                    <input type="text" name="QualityName" lay-verify="required" id="QualityName" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">质检日期:</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" id="AddTime" name="AddTime" placeholder="请选择日期">
                </div>
            </div>
            <div class="layui-inline" style="margin-left:220px">
                <label class="layui-form-label">质检人:</label>
                <div class="layui-input-inline">
                    <input type="text" name="AddName" lay-verify="required" id="AddName" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">供应商:</label>
                <div class="layui-col-md6">
                    <select id="SupplierID" name="SupplierID" lay-verify="required" lay-filter="mySelectFilter" class="dialog-select"></select>
                </div>
            </div>
        </div>
    </div>
    @* 成品 *@
    <div style="width:1000px;border-color:black;border-style:solid;border-width:1px;margin:10px 20px;">
        <div style="margin:10px 20px;">
            <h3>成品信息</h3>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">成品编号:</label>
                <div class="layui-input-block">
                    <input type="text" name="finishedProductNumber" lay-verify="required" id="finishedProductNumber" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
            <div class="layui-inline" style="margin-left:240px">
                <label class="layui-form-label" style="width:auto">成品名称:</label>
                <div class="layui-input-inline">
                    <input type="text" name="finishedProductName" lay-verify="required" id="finishedProductName" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">规格型号:</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" id="finishedProductModel" name="finishedProductModel" placeholder="请输入">
                </div>
            </div>
            <div class="layui-inline" style="margin-left:220px">
                <label class="layui-form-label">BOM编号:</label>
                <div class="layui-input-inline">
                    <input type="text" name="BomNumbering" lay-verify="required" id="BomNumbering" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">尺寸:</label>
                <div class="layui-input-block">
                    <input type="text" name="finishedSize" lay-verify="required" id="finishedSize" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
            <div class="layui-inline" style="margin-left:220px">
                <label class="layui-form-label">批次号:</label>
                <div class="layui-input-inline">
                    <input type="text" name="finishedBatch" lay-verify="required" id="finishedBatch" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
        </div>
    </div>
    @* 工艺 *@
    <div style="width:1000px;border-color:black;border-style:solid;border-width:1px;margin:10px 20px;">
        <div style="margin:10px 20px;">
            <h3>工艺信息</h3>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">生产线编号:</label>
                <div class="layui-input-block">
                    <input type="text" name="productionlineNumber" lay-verify="required" id="productionlineNumber" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
            <div class="layui-inline" style="margin-left:240px">
                <label class="layui-form-label" style="width:auto">生产线名称:</label>
                <div class="layui-input-inline">
                    <input type="text" name="productionlineName" lay-verify="required" id="productionlineName" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label" style="width:auto">工艺路线编号:</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="CraftManageNumber" name="CraftManageNumber" placeholder="请输入">
                </div>
            </div>
            <div class="layui-inline" style="margin-left:200px">
                <label class="layui-form-label" style="width:auto">工艺路线名称:</label>
                <div class="layui-input-inline">
                    <input type="text" name="CraftManageName" lay-verify="required" id="CraftManageName" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">工序编号:</label>
                <div class="layui-input-block">
                    <input type="text" name="ProcessNumber" lay-verify="required" id="ProcessNumber" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
            <div class="layui-inline" style="margin-left:230px">
                <label class="layui-form-label">工序名称:</label>
                <div class="layui-input-inline">
                    <input type="text" name="ProcessName" lay-verify="required" id="ProcessName" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
        </div>
    </div>
    @* 质检明细 *@
    <div style="width:1000px;border-color:black;border-style:solid;border-width:1px;margin:10px 20px;">
        <div style="margin:10px 20px;">
            <h3>质检明细</h3>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">质检数量:</label>
                <div class="layui-input-block">
                    <input type="text" name="Qualityquantity" lay-verify="required" id="Qualityquantity" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
            <div class="layui-inline" style="margin-left:240px">
                <label class="layui-form-label" style="width:auto">合格量:</label>
                <div class="layui-input-inline">
                    <input type="text" name="Qualified" lay-verify="required" id="Qualified" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">不合格量:</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" id="UnQualified" name="UnQualified" placeholder="请输入">
                </div>
            </div>
            <div class="layui-inline" style="margin-left:210px">
                <label class="layui-form-label">质检结果:</label>
                <div class="layui-input-inline">
                    <input type="text" name="QualityResults" lay-verify="required" id="QualityResults" autocomplete="off" class="layui-input" placeholder="请输入">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
                <label class="layui-form-label">备注:</label>
                <div class="layui-input-block">
                <textarea placeholder="请输入内容" lay-verify="required" name="Remark" id="Remark" class="layui-textarea"></textarea>
                </div>
        </div>
    </div>
    <div class="layui-form-item" style="margin-left:500px">
        <button class="layui-btn" lay-submit lay-filter="demo-login">添加</button>
        <button type="reset" class="layui-btn layui-btn-primary">取消</button>
    </div>
</form>
<script src="~/js/qualityduring/qualityadd.js"></script>
<script>
layui.use(function () {
    var laydate = layui.laydate;
    // 日期选择器
    laydate.render({
        elem: '#AddTime',
    });
});
</script>